package animal;

public class VisitorAdult extends Visitor{
    public VisitorAdult(String adultName){
        super.setVisitorName(adultName);
    }
    //成人年龄
    private int adultAge;
    //成人孩子
    private String adultChild;

    public int getAdultAge() {
        return adultAge;
    }
    public void setAdultAge(int adultAge) {
        this.adultAge = adultAge;
    }
    public String getAdultChild() {
        return adultChild;
    }
    public void setStudentClass(String adultChild) {
        this.adultChild = adultChild;
    }
}
